package com.zhuyuan.auth;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @Author: 张琳凯
 * @Description: TODO
 * @DateTime: 2024/12/23 21:29
 **/
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.zhuyuan.system.api"})
@EnableDiscoveryClient
public class AuthApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context=SpringApplication.run(AuthApplication.class, args);
        System.out.println(
                        "--------------------认证模块启动成功----------------- \n" +
                        "|                                                 | \n" +
                        "|      _                                          | \n" +
                        "|      | |                                        | \n" +
                        "|   ___| |__  _   _ _   _ _   _  __ _ _ __        | \n" +
                        "|  |_  / '_ \\| | | | | | | | | |/ _` | '_ \\     | \n" +
                        "|   / /| | | | |_| | |_| | |_| | (_| | | | |      | \n" +
                        "|  /___|_| |_|\\__,_|\\__, |\\__,_|\\__,_|_| |_|  | \n" +
                        "|                    __/ |                        | \n" +
                        "|                   |___/                         | \n"+
                        "-------------------------------------------------- \n"
        );
    }
}